<section class="rs-result clearfix">
    <aside class="col-xs-12 col-sm-3 rs-result-list">
        <p class="hidden-sm hidden-md hidden-lg" ng-show="isCollapsed">
            相关技术人才>
            <span
                ng-bind="page.pageIndex+'.'+page.data[page.pageIndex].user.name+' | '+page.data[page.pageIndex].institution"></span>
        </p>

        <p class="list-count">迈科技为您找到相关科研资源 <span ng-bind="page.total"></span>人</p>
        <ul class="list-outter" uib-collapse="isCollapsed">
            <li ng-repeat="item in page.data track by $index" class="item"
                ng-class="{'active':page.pageIndex===$index+1,'active-next':page.pageIndex===$index+2}">
                <a ng-click="page.SelectItem($index+1)">
                    <p class="more-hidden">
                        <span ng-bind="$index+1" class="prefix"></span>
                        <span ng-bind="item.user.name+'|'+item.institution"></span>
                    </p>
                </a>
            </li>
        </ul>
        <!-- <button ng-show="page.data.length>0" class="btn btn-xs btn-default col-xs-12 btn-more hidden-xs"
                ng-click="ListMore()">显示更多<i
            class="glyphicon glyphicon-menu-down"></i>
        </button>
        <button ng-show="page.total>page.pageNumber*page.currentPage"
                class="btn btn-xs btn-default col-xs-12 btn-more hidden-sm hidden-md hidden-lg"
                ng-click="ListAll()">
            <span>显示更多</span>
            <i class="glyphicon glyphicon-menu-down"></i>
        </button>
        <button ng-show="page.total<=page.pageNumber*page.currentPage"
                class="btn btn-xs btn-default col-xs-12 btn-more hidden-sm hidden-md hidden-lg"
                ng-click="Collapse();">
            <span ng-bind="isCollapsed?'显示其他('+page.total+')':'收起列表)'"></span>
            <i class="glyphicon" ng-class="{'glyphicon-menu-down':isCollapsed,'glyphicon-menu-up':!isCollapsed}"></i>
        </button> -->
    </aside>
    <div class="col-xs-12 col-sm-9 container-fluid rs-result-detail">
        <div class="nullHint col-xs-12" ng-if="page.data.length<1">
            <h4>很抱歉，没有找到与“<span ng-bind="searchTxt"></span>”完全匹配的科研。 </br>建议您提交您的技术需求，迈科技将尽快为您找到合适的解决者。
            </h4>
            <button class="btn btn-default btn-push-tech">发布技术需求</button>
            <!--<p>相关搜索</p>-->
            <!--<p><a ng-repeat="item in [1,2,3,4,5,6,7,87,9,9,'12','a','sad'] track by $index" ng-bind="'空气污染'+item"-->
                  <!--class="hotKeywords"></a>-->
            <!--</p>-->
        </div>
        <div class="title clearfix" ng-if="page.data.length>0">
            <div class="item-img"
                 ng-style="{'background-image':'url('+(page.data[page.pageIndex].avatar || 'images/common/header.png')+')'}">
                <span class="prefix active" ng-bind="page.pageIndex"></span></div>
            <div style="float:left">
                <p class="item-title" ng-bind="page.data[page.pageIndex].user.name || '佚名'"></p>

                <p ng-bind="page.data[page.pageIndex].institution+' | '+page.data[page.pageIndex]                                                                                                                   .title"></p>

                <p class="label-container hidden-xs">
                    <span class="label">计算机</span>
                    <span class="label">非典</span>
                    <span class="label">黑色毛衣</span>
                    <span class="label">啊</span>
                    <span class="label">计算机一级学科领域大牛</span>
                </p>
                <a href="javascript:void(0)"
                   class="btn btn-xs btn-default btn-favorite col-sm-4 hidden-xs hidden-sm hidden-md"
                   ng-click="favorite(page.data[page.pageIndex].id)">取消收藏</a>
                <a href="javascript:void(0)" class="btn-link btn-xs btn-favorite hidden-lg"
                   ng-click="favorite(page.data[page.pageIndex].id)" style="float: left">取消收藏</a>
                <a href="javascript:void(0)" class="btn btn-xs btn-default btn-page col-sm-5"
                   ui-sref="meta.talent.detail.project({user_id:page.data[page.pageIndex].user.id, page:1})"
                   target="_blank">Ta的主页</a>
            </div>
        </div>
        <ul class="list-outter" ng-if="achievement.pageData.length>0">
            <p class="list-count">迈科技为您找到 <span ng-bind="page.data.user.name+page.data.title"></span> 的相关成果 <span
                ng-bind="achievement.total"></span> 项</p>
            <li class="item" ng-repeat="item in achievement.pageData">
                <p class="item-title" ng-bind="item.title"></p>

                <p class="item-body" ng-bind="'内容：'+item.content"></p>
            </li>
        </ul>
        <button href="" class="btn btn-default col-xs-12"
                ng-bind="'继续加载10篇(已显示'+achievement.currentPage*achievement.pageNumber+'篇，共'+achievement.total+'篇）'"
                ng-click="achievement.Change()"
                ng-disabled="achievement.currentPage*achievement.pageNumber>=achievement.total"></button>
        <p style="text-align: center">
            <button class="btn btn-primary btn-next" ng-click="page.SelectItem(page.pageIndex-1)"
                    ng-disabled="page.pageIndex==1">上一位
            </button>
            <button class="btn btn-primary btn-previous" ng-click="page.SelectItem(page.pageIndex+1)"
                    ng-disabled="page.pageIndex==page.data.length">下一位
            </button>
        </p>
    </div>
</section>
